FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (78 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-DeviceMetric3to2.html
Url http://hl7.org/fhir/StructureMap/DeviceMetric3to2
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name DeviceMetric3to2
Title DeviceMetric Transforms: R3 to R2
Experimental False
Realm uv
Authority hl7
Description DeviceMetricTransformsR3toR2

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/DeviceMetric3to2'
/// name = 'DeviceMetric3to2'
/// title = 'DeviceMetric Transforms: R3 to R2'
/// status = 'active'

uses "http://hl7.org/fhir/3.0/DeviceMetric" alias DeviceMetric as source
uses "http://hl7.org/fhir/1.0/DeviceMetric" alias DeviceMetricR2 as target

imports "http://hl7.org/fhir/StructureMap/*3to2"

group DeviceMetric(source src : DeviceMetric, target tgt : DeviceMetricR2) extends DomainResource <<type+>> {
  src.type -> tgt.type "DeviceMetric-type";
  src.identifier -> tgt.identifier "DeviceMetric-identifier";
  src.unit -> tgt.unit "DeviceMetric-unit";
  src.source -> tgt.source "DeviceMetric-source";
  src.parent -> tgt.parent "DeviceMetric-parent";
  src.operationalStatus -> tgt.operationalStatus "DeviceMetric-operationalStatus";
  src.color -> tgt.color "DeviceMetric-color";
  src.category -> tgt.category "DeviceMetric-category";
  src.measurementPeriod -> tgt.measurementPeriod "DeviceMetric-measurementPeriod";
  src.calibration as vs0 -> tgt.calibration as vt0 then dvmCalibration(vs0, vt0) "DeviceMetric-calibration";
}

group dvmCalibration(source src, target tgt) extends BackboneElement {
  src.type -> tgt.type "calibration-type";
  src.state -> tgt.state "calibration-state";
  src.time -> tgt.time "calibration-time";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "DeviceMetric3to2",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/DeviceMetric3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'DeviceMetric3to2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'DeviceMetric Transforms: R3 to R2'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/DeviceMetric<span style=\"color: navy\">&quot; </span><b>alias </b>DeviceMetric <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/DeviceMetric<span style=\"color: navy\">&quot; </span><b>alias </b>DeviceMetricR2 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*3to2<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>DeviceMetric<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>DeviceMetric, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>DeviceMetricR2<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type <i>&quot;DeviceMetric-type&quot;</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;DeviceMetric-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.unit<span style=\"color: navy\"><b> -&gt; </b></span>tgt.unit <i>&quot;DeviceMetric-unit&quot;</i><span style=\"color: navy\">;</span>\r\n src.source<span style=\"color: navy\"><b> -&gt; </b></span>tgt.source <i>&quot;DeviceMetric-source&quot;</i><span style=\"color: navy\">;</span>\r\n src.parent<span style=\"color: navy\"><b> -&gt; </b></span>tgt.parent <i>&quot;DeviceMetric-parent&quot;</i><span style=\"color: navy\">;</span>\r\n src.operationalStatus<span style=\"color: navy\"><b> -&gt; </b></span>tgt.operationalStatus <i>&quot;DeviceMetric-operationalStatus&quot;</i><span style=\"color: navy\">;</span>\r\n src.color<span style=\"color: navy\"><b> -&gt; </b></span>tgt.color <i>&quot;DeviceMetric-color&quot;</i><span style=\"color: navy\">;</span>\r\n src.category<span style=\"color: navy\"><b> -&gt; </b></span>tgt.category <i>&quot;DeviceMetric-category&quot;</i><span style=\"color: navy\">;</span>\r\n src.measurementPeriod<span style=\"color: navy\"><b> -&gt; </b></span>tgt.measurementPeriod <i>&quot;DeviceMetric-measurementPeriod&quot;</i><span style=\"color: navy\">;</span>\r\n src.calibration<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.calibration<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>dvmCalibration<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;DeviceMetric-calibration&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>dvmCalibration<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.type<span style=\"color: navy\"><b> -&gt; </b></span>tgt.type <i>&quot;calibration-type&quot;</i><span style=\"color: navy\">;</span>\r\n src.state<span style=\"color: navy\"><b> -&gt; </b></span>tgt.state <i>&quot;calibration-state&quot;</i><span style=\"color: navy\">;</span>\r\n src.time<span style=\"color: navy\"><b> -&gt; </b></span>tgt.time <i>&quot;calibration-time&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/DeviceMetric3to2",
  "version" : "0.1.0",
  "name" : "DeviceMetric3to2",
  "title" : "DeviceMetric Transforms: R3 to R2",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "DeviceMetricTransformsR3toR2",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/3.0/DeviceMetric",
      "mode" : "source",
      "alias" : "DeviceMetric"
    },
    {
      "url" : "http://hl7.org/fhir/1.0/DeviceMetric",
      "mode" : "target",
      "alias" : "DeviceMetricR2"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*3to2"
  ],
  "group" : [
    {
      "name" : "DeviceMetric",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "DeviceMetric",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "DeviceMetricR2",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "DeviceMetric-type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-unit",
          "source" : [
            {
              "context" : "src",
              "element" : "unit",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "unit",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-source",
          "source" : [
            {
              "context" : "src",
              "element" : "source",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "source",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-parent",
          "source" : [
            {
              "context" : "src",
              "element" : "parent",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "parent",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-operationalStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "operationalStatus",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "operationalStatus",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-color",
          "source" : [
            {
              "context" : "src",
              "element" : "color",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "color",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-category",
          "source" : [
            {
              "context" : "src",
              "element" : "category",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "category",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-measurementPeriod",
          "source" : [
            {
              "context" : "src",
              "element" : "measurementPeriod",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "measurementPeriod",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "DeviceMetric-calibration",
          "source" : [
            {
              "context" : "src",
              "element" : "calibration",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "calibration",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "dvmCalibration",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "dvmCalibration",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "calibration-type",
          "source" : [
            {
              "context" : "src",
              "element" : "type",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "type",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "calibration-state",
          "source" : [
            {
              "context" : "src",
              "element" : "state",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "state",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "calibration-time",
          "source" : [
            {
              "context" : "src",
              "element" : "time",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "time",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.